package sheshen.come.cn.sheshen.feature.ui;

import android.content.DialogInterface;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import org.w3c.dom.Text;

import sheshen.come.cn.sheshen.R;
import sheshen.come.cn.sheshen.base.BaseFragment;
import sheshen.come.cn.sheshen.navigation.imp.DefaultNavigation;
import sheshen.come.cn.sheshen.utils.Tools;
import sheshen.come.cn.sheshen.weidge.AlertDialog;

/**
 * Created by MyPC on 2017/2/27.
 */

public class FromeIdFragment  extends  BaseFragment implements View.OnClickListener{
    @Override
    protected View getContentView(LayoutInflater inflater, ViewGroup container) {
        return inflater.inflate(R.layout.fromeid_fragment,container,false);
    }

    private TextView info_danwei_tv;
    private TextView info_shangpin_tv;
    private TextView info_changjia_tv;
    private TextView info_yingshou_tv;
    private TextView info_yishou_tv;
    private Button  info_jixv_btn;
    @Override
    protected void initViews(View contentView) {
        info_danwei_tv = (TextView) contentView.findViewById(R.id.info_danwei_tv);
        info_shangpin_tv = (TextView) contentView.findViewById(R.id.info_shangpin_tv);
        info_changjia_tv = (TextView) contentView.findViewById(R.id.info_changjia_tv);
        info_yingshou_tv = (TextView) contentView.findViewById(R.id.info_yingshou_tv);
        info_yishou_tv = (TextView) contentView.findViewById(R.id.info_yishou_tv);
        info_jixv_btn = (Button) contentView.findViewById(R.id.info_jixv_btn);

    }

    @Override
    protected void initListeners() {
        info_jixv_btn.setOnClickListener(this);
    }

    @Override
    protected void initDatas() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            //继续收货;
            case R.id.info_jixv_btn:
                Intent intent = new Intent(getContext(),ContinuedReceiptActivity.class);
                startActivity(intent);
                break;
        }
    }

}
